        <div id="content">
            <div id="content_header" class="size_20" style=" border-bottom-width:medium; border-bottom-style:solid; border-bottom-color:#777777">
            	<img src="images/icn_mytaskTitle.gif" align="absmiddle">Ahli</div>
        	<div id="content_bgblue">
                <div id="content_bgwhite">

        	            
<div style="border: 0pt solid silver; width: 100%;">
<?=alert_some_message();?>
<?=alert_some_warning()?>
<?=alert_some_error()?>

<table width="100%" border="0" cellspacing="1" cellpadding="2">
  <tr>
    <td nowrap="nowrap"><? include "_tab_kelas_guru_murid.php";?>
    </td>
    <td width="150" align="left">&nbsp;</td>
    <td width="150" align="right">&nbsp;</td>
    <td width="150" align="right">&nbsp;</td>
  </tr>
</table>
<br/>
<form name="" action="?act=edit_staff" method="POST" target="" onSubmit="" onReset="">
  <fieldset style="background:#ffffff; border-width:thin; border-style:solid; padding:10px; border-color:#CCCCCC;">
<legend style="font-size:1.0em; font-weight: bold;">Maklumat Peribadi </legend>

<table width="100%" cellspacing="1" cellpadding="2" border="0" class="classBackground">
  <tbody>

    <tr>
      <td width="20" align="left" valign="top" class="color_606060">&nbsp;</td>
      <td width="30%" align="left" valign="top">No Ahli </td>
      <td width="20">:</td>
      <td><span class="classRow"><?=$ahli->no_ahli?>
      </span></td>
    </tr>
    <tr>
      <td width="20" align="left" valign="top" class="color_606060">&nbsp;</td>
      <td width="30%" align="left" valign="top">Nama</td>
      <td width="20">:</td>
      <td><span class="classRow"><?=$ahli->nama_ahli?></span></td>
    </tr>
    <tr>
      <td width="20" align="left" valign="top" class="color_606060">&nbsp;</td>
      <td width="30%" align="left" valign="top">No. KP Baru </td>
      <td width="20">:</td>
      <td><span class="classRow"><?=$ahli->nokp_baru?></span></td>
    </tr>
    <tr>
      <td width="20" align="left" valign="top" class="color_606060">&nbsp;</td>
      <td width="30%" align="left" valign="top">No. KP Lama </td>
      <td width="20">:</td>
      <td><span class="classRow"><?=$ahli->nokp_lama?></span></td>
    </tr>
    <tr>
      <td valign="top" align="left" class="color_606060">&nbsp;</td>
      <td valign="top" align="left">Keahlian</td>
      <td width="20">:</td>
      <td><?=$pribadi->keahlian?></td>
    </tr>
    <tr>
      <td width="20" align="left" valign="top" class="color_606060">&nbsp;</td>
      <td width="30%" align="left" valign="top">Tarikh Masuk </td>
      <td width="20">:</td>
      <td><span class="classRow"><?=dmy_date($ahli->tarikh_masuk)?></span></td>
    </tr>
    <tr>
    <tr>
      <td width="20" align="left" valign="top" class="color_606060">&nbsp;</td>
      <td width="30%" align="left" valign="top">Tarikh Berhenti </td>
      <td width="20">:</td>
      <td><span class="classRow"><?=dmy_date($ahli->tarikh_berhenti)?></span></td>
    </tr>
    <tr>
    <tr>
      <td width="20" align="left" valign="top" class="color_606060">&nbsp;</td>
      <td width="30%" align="left" valign="top">Sebab Berhenti </td>
      <td width="20">:</td>
      <td><span class="classRow"><?=$ahli->sebab_berhenti?></span></td>
    </tr>
    <tr>
    <tr>
      <td align="left" valign="top" class="color_606060">&nbsp;</td>
      <td align="left" valign="top">Ahli Insuran </td>
      <td>:</td>
      <td><span class="classRow">
        <? echo ($ahli->ahli_insuran=='1')?"Ya":"Tidak"?>
      </span></td>
    </tr>
    <tr>
      <td align="left" valign="top" class="color_606060">&nbsp;</td>
      <td align="left" valign="top">Ahli AIA </td>
      <td>:</td>
      <td><span class="classRow">
        <? echo ($ahli->ahli_aia=='1')?"Ya":"Tidak"?>
      </span></td>
    </tr>
    <tr>
      <td align="left" valign="top" class="color_606060">&nbsp;</td>
      <td align="left" valign="top">&nbsp;</td>
      <td width="20">&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td width="20" align="left" valign="top" class="color_606060">&nbsp;</td>
      <td width="30%" align="left" valign="top">Tarikh Lahir </td>
      <td width="20">:</td>
      <td><span class="classRow"><?=dmy_date($pribadi->tarikh_lahir)?></span></td>
    </tr>
    
    <tr>
      <td valign="top" align="left" class="color_606060">&nbsp;</td>
      <td valign="top" align="left">No Telefon </td>
      <td width="20" valign="top">:</td>
      <td><?=$pribadi->no_tel?></td>
    </tr>
    <tr>
      <td valign="top" align="left" class="color_606060">&nbsp;</td>
      <td valign="top" align="left">Alamat Rumah</td>
      <td width="20" valign="top">:</td>
      <td>
        <?=$pribadi->address1?>, 
		<?=$pribadi->address2?><br>	  </td>
    </tr>
    
    <tr>
      <td valign="top" align="left" class="color_606060">&nbsp;</td>
      <td valign="top" align="left">Poskod</td>
      <td width="20">:</td>
      <td><?=$pribadi->poskod?></td>
    </tr>
    <tr>
      <td valign="top" align="left" class="color_606060">&nbsp;</td>
      <td valign="top" align="left">Bandar</td>
      <td width="20">:</td>
      <td><?=$pribadi->bandar?></td>
    </tr>
    <tr>
      <td valign="top" align="left" class="color_606060">&nbsp;</td>
      <td valign="top" align="left">Negeri</td>
      <td width="20">:</td>
      <td><span class="classRow">
      <?=$pribadi->negeri?>
	  <?=getFieldFromId("ref_negeri","negeri",$alamat->negeri_id)?>  
	  <?
	  	if ($alamat->kod_negeri != '') {
			echo getFieldByWhereSql('ref_negeri','negeri',"WHERE kod='$alamat->kod_negeri'");
		}
	  ?>
      </span></td>
    </tr>
    <tr>
      <td valign="top" align="left" class="color_606060">&nbsp;</td>
      <td valign="top" align="left">&nbsp;</td>
      <td width="20">&nbsp;</td>
      <td></td>
    </tr>
    <tr>
      <td valign="top" align="left" class="color_606060">&nbsp;</td>
      <td valign="top" align="left">Warganegara</td>
      <td width="20">:</td>
      <td><?=$pribadi->warganegara?></td>
    </tr>
    
    <tr>
      <td valign="top" align="left" class="color_606060">&nbsp;</td>
      <td valign="top" align="left">Bangsa</td>
      <td width="20">:</td>
      <td><?=$pribadi->bangsa?></td>
	</tr>
    <tr>
      <td valign="top" align="left" class="color_606060">&nbsp;</td>
      <td valign="top" align="left">Jantina</td>
      <td width="20">:</td>
      <td><?=$pribadi->jantina?></td>
    </tr>
    <tr>
      <td valign="top" align="left" class="color_606060">&nbsp;</td>
      <td valign="top" align="left">Status Perkahwinan </td>
      <td width="20">:</td>
      <td><?=$pribadi->status?></td>
    </tr>
  </tbody>
</table>
</fieldset>

<br />
<fieldset style="background:#ffffff; border-width:thin; border-style:solid; padding:10px; border-color:#CCCCCC;">
<legend style="font-size:1.0em; font-weight: bold;">Maklumat Perkhidmatan </legend>
<table width="100%" cellspacing="1" cellpadding="2" border="0" class="classBackground">
  <tbody>
    <tr>
      <td width="20" align="left" valign="top" class="color_606060">&nbsp;</td>
      <td width="30%" align="left" valign="top">Jawatan</td>
      <td width="20">:</td>
      <td><?=getFieldByWhereSql("jawatan","jawatan","where kod_jawatan='$khidmat->jawatan_id'")?></td>
    </tr>
    <tr>
      <td width="20" align="left" valign="top" class="color_606060">&nbsp;</td>
      <td width="30%" align="left" valign="top">No Gaji </td>
      <td width="20">:</td>
      <td><span class="classRow">
        <?=$khidmat->no_gaji?>
      </span></td>
    </tr>
    <tr>
      <td width="20" align="left" valign="top" class="color_606060">&nbsp;</td>
      <td width="30%" align="left" valign="top">Gaji</td>
      <td width="20">:</td>
      <td><span class="classRow">
        <?=$khidmat->gaji?>
      </span></td>
    </tr>
    <tr>
      <td width="20" align="left" valign="top" class="color_606060">&nbsp;</td>
      <td width="30%" align="left" valign="top">No Telefon </td>
      <td width="20">:</td>
      <td><span class="classRow">
        <?=$khidmat->telefon?>
      </span></td>
    </tr>
    <tr>
      <td width="20" align="left" valign="top" class="color_606060">&nbsp;</td>
      <td width="30%" align="left" valign="top">Cawangan</td>
      <td width="20">:</td>
      <td><span class="classRow"><?=getFieldByWhereSql('cawangan','cawangan',"WHERE id_cawangan='$khidmat->cawangan_id'")?>
      </span></td>
    </tr>
    <tr>
      <td width="20" align="left" valign="top" class="color_606060">&nbsp;</td>
      <td width="30%" align="left" valign="top">Alamat</td>
      <td width="20">:</td>
      <td><span class="classRow">
        <?=$khidmat->alamat1?>
      ,
      <?=$khidmat->alamat2?>
      <br />
      <?=$khidmat->poskod?> <?=$khidmat->bandar?>
      </span></td>
    </tr>
    <tr>
      <td align="left" valign="top" class="color_606060">&nbsp;</td>
      <td align="left" valign="top">Email</td>
      <td>:</td>
      <td><span class="classRow">
        <?=$khidmat->email?>
      </span></td>
    </tr>
  </tbody>
</table>
</fieldset>
<br>

<fieldset style="background:#ffffff; border-width:thin; border-style:solid; padding:10px; border-color:#CCCCCC;">
<legend style="font-size:1.0em; font-weight: bold;">Maklumat Penama </legend>
<table width="100%" cellspacing="1" cellpadding="2" border="0" class="classBackground">
  <tbody>
    <tr>
      <td width="20" align="left" valign="top" class="color_606060">&nbsp;</td>
      <td width="30%" align="left" valign="top">Nama</td>
      <td width="20">:</td>
      <td><?=$penama->waris?></td>
    </tr>
    <tr>
      <td valign="top" align="left" class="color_606060">&nbsp;</td>
      <td valign="top" align="left">No. KP Baru </td>
      <td>:</td>
      <td><?=$penama->nokp_baru?></td>
    </tr>
    <tr>
      <td valign="top" align="left" class="color_606060">&nbsp;</td>
      <td valign="top" align="left">No. KP Lama </td>
      <td>:</td>
      <td><?=$penama->nokp_lama?></td>
    </tr>
    <tr>
      <td valign="top" align="left" class="color_606060">&nbsp;</td>
      <td valign="top" align="left">No. Sijil Lahir </td>
      <td>:</td>
      <td><?=$penama->no_daftar_lahir?></td>
    </tr>
    <tr>
      <td valign="top" align="left" class="color_606060">&nbsp;</td>
      <td valign="top" align="left">Hubungan</td>
      <td>:</td>
      <td><?=$penama->hubungan?></td>
    </tr>
    

<!--
    <tr>
      <td class="classRowLabel" align="left" valign="top">&nbsp;</td>
      <td height="20" align="left" valign="top" class="classRowLabel">Nama Waris </td>
      <td valign="top" class="classRowLabel">&nbsp;</td>
      <td class="classRow"><input name="waris[nama]" id="waris_nama" value="<?=$waris->nama?>" onblur="" onchange="" onfocus="" onselect="" maxlength="100" size="50" type="text" />
        <?=$ahli->nama?>
 -->

  </tbody>
</table>
</fieldset>
<br />
<br/>
<!-- JUMLAH PENDAPATAN && JULAT -->
<!-- --><br/>

<center>
        <? if(!$is_historical_data): ?>
		<input name="button2232" type="button" class="Button" onclick="location='?act=edit_ahli&id=<?=$ahli->id?>'" value="Edit" style=" width:100px;" />
        <? endif; ?>
		<input name="button22322" type="button" class="Button" onclick="location='index.jsp?act=list_ahli&n=<?=$ahli->no_ahli?>'" value="Kembali ke Senarai Ahli" style=" width:200px;" />
</center>

</form>


 <br>
 <br> <!--div id="content_footborder" style="width:930px; position:absolute; left:0; background:#ccccff; text-align:center">
  &copy; Kementerian Pelajaran Malaysia, 2010.
 </div-->

</div>
<!-- close content_bgwhite -->
</div>
<!-- close content_bgblue -->
</div>
<!-- close content -->

</div>
<!-- close container_content -->

</div>
<!-- close container -->
